package com.itheima.service;

import com.itheima.dao.impl.ClazzImpl;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class UserTest {
    public static void main(String[] args) {
        ApplicationContext ctx = new ClassPathXmlApplicationContext("spring-day01/src/main/resources/appliction-clazz.xml");
        ClazzImpl clazz = (ClazzImpl) ctx.getBean("clazz");
        clazz.findAll();
    }
}
